package us.wili.dev.netty.model.game;

import com.google.gson.annotations.Expose;

import java.util.UUID;

public class Player extends BetPlayer {



    /**
     * 用户所在房间
     */
    @Expose(serialize = false, deserialize = false)
    private Room room;
    /**
     * 是否已经弃牌
     */
    @Expose
    private boolean isFold = true;
    /**
     * 手牌
     */
    private int[] handPokers;

    /**
     * socket信息
     */
    private UUID session;


    public UUID getSession() {
        return session;
    }

    public void setSession(UUID session) {
        this.session = session;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    public boolean isFold() {
        return isFold;
    }

    public void setFold(boolean fold) {
        isFold = fold;
    }

    public int[] getHandPokers() {
        return handPokers;
    }

    public void setHandPokers(int[] handPokers) {
        this.handPokers = handPokers;
    }
}
